package br.com.emmis.tercons.model;

/**
 * Created by vaner on 30/12/2014.
 */
public class Intention {

    private String mName;
    private String mPrece;
    private int mId;

    private int mAmem;

    public Intention() {
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getmPrece() {
        return mPrece;
    }

    public void setmPrece(String mPrece) {
        this.mPrece = mPrece;
    }

    public int getmId() {
        return mId;
    }

    public void setmId(int mId) {
        this.mId = mId;
    }

    public int getmAmem() {
        return mAmem;
    }

    public void setmAmem(int mAmem) {
        this.mAmem = mAmem;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Intention)) return false;

        Intention intention = (Intention) o;

        if (mId != intention.mId) return false;

        return true;
    }

    @Override
    public int hashCode() {
        return mId;
    }
}
